package com.zcf.pojo;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;

import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhouzhuang
 * @since 2018-11-28
 */
@Data
public class Address extends Model<Address> {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id")
	private String id;
	private String phone;
	private String address;
	private String detail;
	private String name;
	/**
	 * 0 正常 1：默认
	 */
	private Integer type;
	private String time;
	private String userId;
	@Override
	protected Serializable pkVal() {
		return id;
	}

}
